home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / redakcyjne / programy / PSPad editor 4.5.4 build 2356 beta / pspad454inst_en.exe / {app} / Context / WML.DEF < prev    next >
Text File  |  2003-10-25  |  8KB  |  359 lines

  1. ; PSPad clip definition file for WML
  2. ;
  3. ; Author: Karel Pavelka webjob@seznam.cz
  4. ; last revision: 5.6.2003
  5. ; translation: Jan Fiala
  6. [Macro definition]
  7. %acceptcharset%=@C accept-charset=,accept-charset=,,windows-1250;iso-8859-2;utf-8,"
  8. %accesskey%=@C accesskey=,accesskey=,,0;1;2;3;4;5;6;7;8;9,"
  9. %align3%=@C align=,align=,,center;left;right,"
  10. %aligni%=@C align=,align=,,bottom;middle;top,"
  11. %alt%=@E alt=,alt=,,,"
  12. %columns%=@E columns=,columns=,,,"
  13. %content%=@C content=,content=,,no-cache;must-revalidate;max-age=,"
  14. %domain%=@E domain=,domain=,,,"
  15. %emptyok%=@C emptyok=,emptyok=,,true;false,"
  16. %encoding%=@C encoding=,encoding=,,windows-1250;iso-8859-2;utf-8,"
  17. %format%=@C format=,format=,,A;a;N;X;x;M;m,"
  18. %forua%=@C forua=,forua=,,true;false,"
  19. %height%=@E height=,height=,,,"
  20. %href%=@O WML href=,href=,,wml file (*.wml;*.php;*.php3)|*.wml;*.php;*.php3,"
  21. %hspace%=@E hspace=,hspace=,,,"
  22. %id%=@E id=,id=,,,"
  23. %iname%=@E iname=,iname=,,," 
  24. %ivalue%=@E ivalue=,ivalue=,,,"
  25. %label%=@E label=,label=,,,"
  26. %lang%=@C xml:lang=,xml:lang=,,cs;sk;de;en;hu,"
  27. %maxlength%=@E maxlength=,maxlength=,,,"
  28. %method%=@C method=,method=,,get;post,"
  29. %mode%=@C mode=,mode=,,wrap;nowrap,"
  30. %multiple%=@C multiple=,multiple=,,true;false,"
  31. %name%=@E name=,name=,,,"
  32. %namem%=@C name=,name=,,vnd.up.markable;vnd.up.bookmark,"
  33. %newcontext%=@C newcontext=,newcontext=,,true;false,"
  34. %onenterbackward%=@E onenterbackward=,onenterbackward=,,,"
  35. %onenterforward%=@E onenterforward=,onenterforward=,,,"
  36. %onexit%=@E onexit=,onexit=,,,"
  37. %onpick%=@E onpick=,onpick=,,,"
  38. %onthrow%=@E onthrow=,onthrow=,,,"
  39. %ontimer%=@E ontimer=,ontimer=,,,"
  40. %optional%=@C optional=,optional=,,true;false,"
  41. %ordered%=@C ordered=,ordered=,,true;false,"
  42. %path%=@C path=,path=,,/,"
  43. %sendreferer%=@C sendreferer=,sendreferer=,,true;false,"
  44. %scheme%=@E scheme=,scheme=,,,"
  45. %size%=@E size=,size=,,,"
  46. %srcw%=@O src=,src=,,Image file (*.wbmp)|*.wbmp,"
  47. %tabindex%=@E tabindex=,tabindex=,,,"
  48. %title%=@E title=,title=,,,"
  49. %typeo%=@C type=,type=,,onpick;onenterforward;onenterbakward;ontimer,"
  50. %typedo%=@C type=,type=,,accept;delete;help;options;prev;reset;unknown;vnd.co-type;x-*,"
  51. %type%=@C type=,type=,,password;text,"
  52. %version%=@C version=,version=,,"1.0","
  53. %volume%=@E volume=,volume=,,,"
  54. %vspace%=@E vspace=,vspace=,,,"
  55. %width%=@E width=,width=,,,"
  56. ;
  57. ;
  58. [!-- | line comment <!-- text -->]
  59. <!-- º| -->
  60. ;
  61. [!--- | block comment <!-- text -->]
  62. <!--
  63.  º|
  64. -->
  65. ;
  66. [a | link]
  67. <a %href% %title% %lang% %accesskey%>º|</a>
  68. ;
  69. [access | WML desk access info specification]
  70. <access %domain% %path% />
  71. |
  72. ;
  73. [anchor | anchor task to formated text]
  74. <anchor %accesskey% %title% %lang%>º|</anchor>
  75. ;
  76. [b | bold text]*CTRL+B
  77. <b>º|</b>
  78. ;
  79. [big | increase font size]
  80. <big>º|</big>
  81. ;
  82. [br | line break]*CTRL+ENTER
  83. <br />
  84. ;
  85. [card | specify simple interaction between user and device]
  86. <card %id% %title% %ontimer% %onenterforward% %onenterbackward% %ordered% %newcontext%>
  87.  º|
  88. </card>
  89. ;
  90. [catch | catch exception]
  91. <catch %onthrow% %name%>
  92.  º|
  93. </catch>
  94. ;
  95. [do | asociate task with element inside user environment]
  96. <do %typedo% %label% %lang% %name% %optional%>º|</do>
  97. ;
  98. [em | emphasis]
  99. <em>
  100.  º|
  101. </em>
  102. ;
  103. [exit | exit task]
  104. <exit>
  105.  º|
  106. </exit>
  107. ;
  108. [fieldset | text or input fields group]
  109. <fieldset %title% %lang%>
  110.  º|
  111. </fieldset>
  112. ;
  113. [go | event to open specified URL address]
  114. <go %href%  %sendreferer% %method% %acceptcharset%>
  115.  º|
  116. </go>
  117. ;
  118. [head | full desk info including metadata for access]
  119. <head>
  120.  º|
  121. </head>
  122. ;
  123. [i | italic]*CTRL+I
  124. <i>º|</i>
  125. ;
  126. [img | image]
  127. <img %alt% %lang% %srcw% %src% %aligni% %height% %width% %vspace% %hspace% />
  128. |
  129. ;
  130. [input | user input]
  131. <input %lang% %name% %title% %type% %value% %accesskey% %format% %emptyok% %size% %maxlength% %tabindex% />
  132. |
  133. ;
  134. [link | link between content and other document. Document must exist inside elementu <head>]
  135. <link %href% %rel% %sendreferer% />
  136. |
  137. ;
  138. [meta | WML desk meta data ]
  139. <meta http-equiv="cache-control" %content% %forua% %namem% %scheme% />
  140. |
  141. ;
  142. [noop | do "nothing"]
  143. <noop />
  144. ;
  145. [optgroup | group of <option> element (or nebo included element <optgroup>) inside <card>]
  146. <optgroup %title% %lang%>
  147.  º|
  148. </optgroup>
  149. ;
  150. [onevent | asociate state or event to task]
  151. <onevent %typeo%>
  152.  º|
  153. </onevent>
  154. ;
  155. [option | specify concrete option inside <select> element]
  156. <option %title% %value% %onpick% %lang%>
  157.  º|
  158. </option>
  159. ;
  160. [p | paragraph]*SHIFT+CTRL+P
  161. <p %align3% %mode% %lang%>
  162.  º|
  163. </p>
  164. ;
  165. [postfield | name definition/value pairs, corespond to HTTP server to accept <go> request]
  166. <postfield %name% %value% />
  167. ;
  168. [prev |  go to previous address]
  169. <prev>|º</prev>
  170. ;
  171. [receive | recieve data from child context]
  172. <receive %name% />
  173. |
  174. ;
  175. [refresh | reload data]
  176. <refresh>
  177.  º|
  178. </refresh>
  179. ;
  180. [reset | reset all variables in current context]
  181. <reset />
  182. |
  183. ;
  184. [select | option definition]
  185. <select %title% %name% %lang% %value% %tabindex% %multiple% %iname% %ivalue%>
  186.  º|
  187. </select>
  188. ;
  189. [send | include single value in parameters block]
  190. <send %value% />
  191. |
  192. ;
  193. [setvar | set variable to specified value, if task <g>,<prev>,<spawn> or <refresh> starts]
  194. <setvar %name% %value% />
  195. |
  196. ;
  197. [small | decrease font size]
  198. <small>º|</small>
  199. ;
  200. [spawn | create child context]
  201. <spawn %href% %onexit% %sendreferer% %method% %acceptcharset%>
  202.  º|
  203. </spawn>
  204. ;
  205. [strong | heavily bold font]
  206. <strong>º|</strong>
  207. ;
  208. [table | table]
  209. <table %lang% %align3% %title% %columns%>
  210.  º|
  211. </table>
  212. ;
  213. [TABLEj |d simple table]
  214. <table %columns%>
  215. <tr><td>º|</td></tr>
  216. </table>
  217. ;
  218. [td | table data]
  219. <td>º|</td>
  220. ;
  221. [template | defines link relation to events]
  222. <template %ontimer% %onenterforward% %onenterbackward%>
  223.  º|
  224. </template>
  225. ;
  226. [throw | declaration to through task exception]
  227. <throw %name%>
  228.  º|
  229. </throw>
  230. ;
  231. [timer | timer definition]
  232. <timer %name% %value% />
  233. |
  234. ;
  235. [tr | table row]
  236. <tr>º|</tr>
  237. ;
  238. [wml | delimitation WML document desk]
  239. <wml %lang%>
  240.  º|
  241. </wml>
  242. ;
  243. [WMLs |d simple WML page]
  244. <?xml version="1.0" %encoding%?>
  245.  
  246. <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
  247. <!-- WML generated by PSPad editor, www.pspad.com; %RFCTime% -->
  248.  
  249. <wml %lang%>
  250.   º|
  251. </wml>
  252. ;
  253. [xml |B document header]
  254. <?xml version="1.0" %encoding%?>
  255. <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
  256. ;
  257. [PHPindex |B WWW and WAP version page]
  258. <?php
  259.    $typ=strtoupper($HTTP_ACCEPT);
  260.    if (ereg("WML",$typ)) {
  261.         include("indexwap.php");
  262.     }
  263.      else {
  264.         include("indexhtml.php");
  265.         }
  266. ?>
  267. ;
  268. [PHPh |B PHP header]
  269. <?php
  270.   header("Content-type: text/vnd.wap.wml");
  271.   echo("<?xml version=\"1.0\"?>\n");
  272.   echo("<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n\n");
  273. ?>
  274. ;
  275. [Keywords]
  276. accept
  277. accept-charset=
  278. access
  279. accesskey=
  280. align=
  281. alt=
  282. anchor
  283. card
  284. catch
  285. columns=
  286. content=
  287. DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
  288. domain=
  289. emptyok=
  290. encoding=
  291. exit
  292. fieldset
  293. format=
  294. forua=
  295. go
  296. head
  297. height=
  298. href=
  299. hspace=
  300. iname=
  301. ivalue=
  302. label=
  303. maxlength=
  304. method=
  305. mode=
  306. multiple=
  307. must-revalidate
  308. newcontext=
  309. no-cache
  310. noop />
  311. nowrap
  312. onenterbackward=
  313. onenterbakward
  314. onenterforward
  315. onenterforward=
  316. onevent
  317. onexit=
  318. onthrow=
  319. ontimer
  320. ontimer=
  321. optgroup
  322. option
  323. optional=
  324. ordered=
  325. password
  326. path=
  327. postfield
  328. receive
  329. reset />
  330. select
  331. send
  332. sendreferer=
  333. setvar
  334. scheme=
  335. size=
  336. small>
  337. spawn
  338. strong>
  339. tabindex=
  340. table
  341. td>
  342. template
  343. throw
  344. timer
  345. title=
  346. tr>
  347. type=
  348. unknown
  349. version=
  350. vnd.wap.wml
  351. volume=
  352. vspace=
  353. wbmp
  354. width=
  355. wml
  356. xml version="1.0"
  357. xml:lang=
  358.  
  359.